package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 一个type对应多个type_kind
 * </p>
 *
 * @author author
 * @since 2025-02-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wastesorting")
@ApiModel(value="Wastesorting对象", description="一个type对应多个type_kind")
public class Wastesorting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "垃圾种类id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "垃圾具体种类")
    @TableField("type_kind")
    private String typeKind;

    @ApiModelProperty(value = "（可回收垃圾/厨余垃圾/有害垃圾/其他垃圾）")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "垃圾照片")
    @TableField("picture")
    private String picture;


}
